export default {
  data: {
    abc: 'abc',
    tabs: [
      {
        title: '美食大全',
        icon: '/common/images/cookbook.png',
        activeIcon: '/common/images/cookbook-active.png',
      },
      {
        title: '分类',
        icon: '/common/images/menu.png',
        activeIcon: '/common/images/menu-active.png',
      },
      {
        title: '更多',
        icon: '/common/images/more.png',
        activeIcon: '/common/images/more-active.png',
      }
    ],

    currentIndex: 1
  },

  change: function(e) {
    this.currentIndex = e.index
  },
}